<template>
  <div class="container">
    <div class="title-container">新手引导</div>
    <div class="fun-container">
      <guide-item v-for="(item,index) in panelData" :key="index" :title="item.title" :isSuccess="item.isSuccess"/>
    </div>
  </div>
</template>

<script>
import GuideItem from './GuideItem'

export default {
  name: 'Guid',
  components: {
    GuideItem
  },
  data() {
    return {
      panelData: [
        {title: '授权小程序', isSuccess: true},
        {title: '首页排版', isSuccess: false},
        {title: '上传商品', isSuccess: false},
        {title: '服务器域名', isSuccess: false},
        {title: '审核发布', isSuccess: false}
      ]
    }
  }
}
</script>

<style lang="css" scoped>
.container{
  width: 100%;
  /* height: 180px; */
  padding: 20px 0 30px 0;
  border-radius: 5px;
  background-color: #fff;
}
.title-container{
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 2px;
  margin-top: 22px;
  font-size: 18px;
}
.fun-container{
  text-align: center;
  margin-top: 20px;
  width: 100%;
  /* height: 85px;
  display: flex; */
  /* background-color: #ccc; */
}
</style>